This page will document useful transformations of elliptic functions and relations among them, along with their derivations. These can be applied to simplifications of analytic formulae or numerical evaluations.
Inverse Jacobi Elliptic Functions Integrable Cases and Addition Formulae Transformations of Jacobi Elliptic Functions Jacobi Elliptic Functions of Fixed Period Quasi-Period of the Complex Jacobi Amplitude Function
Basic derivatives of Jacobi elliptic functions and relations among them:
ddusnu =cnudnu dducnu =−snudnu ddudnu =−msnucnu sn2u +cn2u =1 dn2u +msn2u =1
It is well known that the incomplete elliptic integral of the first kind is inverted by the Jacobi sine function. This is demonstrated by rewriting the derivative of that function with the relations:
ddusnu =1-sn2u 1-msn2u x=snu → u=∫dx (1-x2) (1-mx2)
Since the result of the integral is the argument of the elliptic function, it and the elliptic function are inverses of each other. This provides an integral representation of the inverse Jacobi sine function:
sn−1 (x|m) =∫0x dx (1-x2) (1-mx2)
The same process can be carried out for the remaining eleven Jacobi elliptic functions, giving an integral representation of each. Limits of integration are chosen to keep the functions real for suitable choices of argument.
cn−1 (x|m) =∫x1 dx (1-x2) (1-m +mx2)
dn−1 (x|m) =∫x1 dx (1-x2) (m-1 +x2)
ns−1 (x|m) =∫x∞ dx (x2-1) (x2-m)
nc−1 (x|m) =∫1x dx (x2-1) [m+(1-m) x2]
nd−1 (x|m) =∫1x dx (x2-1) [1+(m-1) x2]
sc−1 (x|m) =∫0x dx (1+x2) [1+(1-m) x2]
sd−1 (x|m) =∫0x dx (1+mx2) [1+(m-1) x2]
cs−1 (x|m) =∫x∞ dx (1+x2) (1-m+x2)
cd−1 (x|m) =∫x1 dx (1-x2) (1-mx2)
ds−1 (x|m) =∫x∞ dx (m+x2) (m-1 +x2)
dc−1 (x|m) =∫1x dx (x2-1) (x2-m)
It is rather remarkable that all of these inverse functions have similar integral forms, all of which are incomplete elliptical integrals of the first kind or their complex continuations.
Consider cases for which the differential equation
dx f(x) =dy f(y)
is readily integrable, leading to an addition formula for functions inverting an integral. Start with a solution of the form
g(x,y) [xf(y) -yf(x)]
and form its differential:
g[f(y) dx -f(x) dy +x f′(y) 2f(y) dy -y f′(x) 2f(x) dx] +[xf(y) -yf(x)] [gxdx +gydy] =gf(x) f(y) [dx f(x) -dy f(y)] +dx f(x) [gxx f(x) f(y) -gxy f(x) -y2g f′ (x)] -dy f(y) [gyy f(x) f(y) -gyx f(y) -x2g f′ (y)]
The first bracketed term is zero by construction. The first term in each of the two other brackets can be made equal by choosing the overall function multiplier to have the dependence
g(x,y) =g(xy)
under which the differential becomes
[g +g′xy] f(x) f(y) [dx f(x) -dy f(y)] -dx f(x) [g′ y2 f(x) +y2g f′ (x)] +dy f(y) [g′ x2 f(y) +x2g f′ (y)]
where the prime on g represents a derivative with respect to its entire argument. If the last two bracketed quantities can be made equal,
g′ y2 f(x) +y2g f′ (x) =h(x,y) =g′ x2 f(y) +x2g f′ (y)
then the differential becomes
[g +g′xy -h] f(x) f(y) [dx f(x) -dy f(y)] and an integrable solution will have been found that is a constant linking the function under the radical at two different argument values. The condition for equality can be written g′g =12 y f′(x) -xf′ (y) x2 f(y) -y2 f(x) so that whenever the right-hand combination can be written as a function of the product xy the differential equation is exactly integrable. For explicit solutions, start with the motivating case f(x) =1-x2 , for which g′g =0 → g(xy) =1 The solution in this case to the differential equation is x1-y2 -y1-x2 =c Direct integration of the differential equation gives ∫0x dt 1-t2 -∫0y dt 1-t2 =∫0c dt 1-t2 sin−1x -sin−1y =sin−1c and taking a sine of both sides reproduces the solution. Replacing the variables in the solution with functions that invert the integrals x=sinu y=sinv the solution to the differential equation becomes sinucosv -sinvcosu =c =sin(u-v) so that the solution to the differential equation represents the addition formula for the sine function, albeit with one negative angle. Next consider the historically interesting case f(x) =1-x4 that arose in the context of arc length on a lemniscate. The condition for an integrable solution is g′g =−2xy 1+x2 y2 → g(xy) =11+x2 y2 so that the solution to the differential equation is x1 -y4 -y1 -x4 1+x2 y2 =c This is one way to express what is known as Euler’s algebraic addition theorem for elliptic integrals. Recognizing that the integrals in this case are inverted by Jacobi elliptic functions with m=−1 , x=sn (u|−1) y=sn (v|−1) this solution represents the addition formula for those functions: snucnvdnv -snvcnudnu 1+sn2u sn2v =sn(u-v) The final easily integrable case is f(x) =(1-x2) (1-mx2) for elliptic integrals of the first kind. The condition for integrability is g′g =2mxy 1-mx2 y2 → g(xy) =11 -mx2 y2 so that the solution to the differential equation is x (1-y2) (1-my2) -y (1-x2) (1-mx2) 1-mx2 y2 =c Since the integrals in this case are inverted by Jacobi elliptic functions of arbitrary parameter, x=sn (u|m) y=sn (v|m) this solution represents the general addition formula for Jacobi elliptic functions: snucnvdnv -snvcnudnu 1-msn2u sn2v =sn(u-v) This is by far a simpler and more direct derivation of the addition formula for Jacobi elliptic functions than the one given in Whittaker and Watson! Having a general condition for testing the integrability of the differential equation, at least for a solution of the given form, it is straightforward to examine other rational expressions for possible integrability. Unfortunately there do not appear to be any other such simple expressions. In particular the rational expression defining elliptic integrals of the second kind is not integrable in this form. Here is a nice historical overview by Jose Barrios for some context to this section. Transformations of Jacobi Elliptic Functions Begin with the relationship between the Jacobi elliptic sine and an elliptic integral of the first kind in Legendre normal form: x=sn (u|m) ↔ u=∫0x dx (1-x2) (1-mx2) If the elliptic sine is given an additional multiplicative factor of the square root of the parameter, msn (u|m) =mx ≡y then the integral statement becomes u=1m ∫0y dy (1- y2m) (1-y2) Moving the initial factor over to the left-hand side leads to an inverse elliptic function with an altered argument and inverted parameter. One thus has the equivalence msn (u|m) =sn(mu| 1m) The relationships with the other basic elliptic functions are again sn2u +cn2u =1 dn2u +msn2u =1 Squaring both sides of the equivalence, replacing the elliptic sine on the left-hand side with the elliptic cosine, rearranging and keeping track of the relevant parameter of the elliptic sine from the right-hand side, one can easily produce the equivalence cn(u|m) =dn(mu| 1m) Repeating the process but replacing the elliptic sine on the left-hand side with the delta amplitude leads to dn(u|m) =cn(mu| 1m) Taking inverses and ratios of these three equivalences allows one to deduce similar equivalences for the remaining Jacobi elliptic function combinations. Jacobi Elliptic Functions of Fixed Period The Jacobi elliptic functions of a real variable have periods proportional to complete elliptic integrals of the first kind, sn[t +4K(m), m] =sn(t,m) cn[t +4K(m), m] =cn(t,m) dn[t +2K(m), m] =dn(t,m) where the elliptic parameter has been written explicitly for the elliptic functions. If one is trying to match an elliptic function to an unknown function with a given period different from these periods, then a frequency multiplying the first argument is generally necessary. This alters the resulting function in a nonlinear fashion, unlike the corresponding change to a circular function, even though the function retains its period in terms of elliptic integrals. The alteration can be understood by comparing two elliptic functions for different frequencies and parameters: sn[ω1t +4K(m1), m1] =sn[ω1(t +4K(m1) ω1 ),m1] sn[ω2t +4K(m2), m2] =sn[ω2(t +4K(m2) ω2 ),m2] In order for these two functions to have the same period, the quantities added to the independent variable must be equal: K(m1) ω1 =K(m2) ω2 Starting from one frequency and parameter and specifying a new frequency, the parameter that maintains the original fixed period is given by K(m2) =ω2 ω1 K(m1) → m2=K −1[ ω2 ω1 K(m1) ] While the Jacobi elliptic sine formally inverts an elliptic integral of the first kind, in practice the inversion must be done with numerical root finding for the simple reason that the elliptic function itself depends on the parameter to be determined. The technique can be graphically illustrated with a Jacobi elliptic sine constrained to a period of 2π: Alternately, starting from an elliptic parameter of zero with the frequency corresponding to the known fixed period, changes to the elliptic parameter can be accommodated by adjusting the frequency to ω2 =K(m2) K(m1) ω1 which can again be graphically illustrated with a Jacobi elliptic sine constrained to a period of 2π: Plotting the function sn[K(m) K(0) t,m] along with a sine function and allowing variation of the elliptic parameter, both positive and negative, nicely illustrates the analytic relationship between the two functions: The behavior of this last graphic for negative values of the parameter indicates that there is an interesting way to generalize the circular function behavior sin(t +π2) =cost to Jacobi elliptic functions with fixed period. Consider the relationship sn[K(n) K(0) (t+π2 ),n] =? cn[K(m) K(0) t,m] Numerical rooting finding for some nontrivial argument, say t=π4 , indicates that one can indeed locate values for the elliptic parameters that make the two functions equivalent. This is demonstrated by the following interactive graphic: The default red line is a Jacobi sine function with n=0 , i.e. a regular sine function. Checking the box locates the value of n, shown rounded to eight decimal places, that makes the two functions equivalent. Note that this value is negative relative to the other elliptic parameter. Evaluating both sides of the relationship under consideration with a CAS, for example Mathematica, and equating their leading terms gives K(m) =1-n K(n) as the analytic relationship connecting the two Jacobi elliptic functions with fixed period. The right-hand side can be rewritten using an identity for negative parameter, 1-n K(n) =K(n n-1) which explains why so many simple rational values turn up in the numerical evaluations of the interactive graphic. Quasi-Period of the Complex Jacobi Amplitude Function To understand this quantity, begin with those of the elliptic integrals. For all of these integrals, the sine function only appears squared. As a result adding a real value of π to the argument of the integral of the first kind leads to an additional multiple of the corresponding complete integral, F(φ +π|m) =∫0 φ+π dφ1 -msin2φ F(φ +π|m) =K(m) +∫π2 π dφ1 -msin2φ +∫π φ+π dφ1 -msin2φ F(φ +π|m) =2K(m) +F(φ|m) where the variable of integration is replaced with π-φ in the second intermediate term and by φ-π in the third. Repeated application gives the general rule F(φ +πp|m) =F(φ|m) +2pK(m) for integral p. The rules for integrals of the second and third kind are mutatis mutandis identical: E(φ +πp|m) =E(φ|m) +2pE(m) Π(φ +πp|m) =Π(n, φ|m) +2pΠ (n|m) These rules can be interpreted to hold over the entire complex plane for both the argument and the parameter. The Jacobi amplitude function is defined as the inverse of the elliptic integral of the first kind: u=∫0φ dφ 1-m sin2φ → φ=am (u,m) Adding twice the complete integral to each side of this equation, reversing the calculation above, gives u+2K(m) =∫0 φ+π dφ1 -msin2φ so that for values of the elliptic parameter that keep the complete elliptic integral real, once can apply this repeatedly for the rule am[u+2p K(m)|m] =am(u|m) +πp While this looks as simple to apply as the rules for elliptic integrals, in practice there are some catches. The Jacobi elliptic functions have an second period in iK(1-m) . When evaluating the amplitude function as the inverse sine of a Jacobi elliptic sine, any real part of this second period will change the overall sign of the inverse sine, but does not alter the result otherwise. Additionally, any imaginary part of the elliptic parameter negates the entire rule, so that only the inverse sine is then necessary. These last comments are partly explained by §3.1 of this online reference. They are stated here to document how the function is evaluated in Math. This is at least how the function appears to be evaluted in Mathematica. Uploaded 2020.04.02 analyticphysics.com
and an integrable solution will have been found that is a constant linking the function under the radical at two different argument values. The condition for equality can be written
g′g =12 y f′(x) -xf′ (y) x2 f(y) -y2 f(x)
so that whenever the right-hand combination can be written as a function of the product xy the differential equation is exactly integrable.
For explicit solutions, start with the motivating case f(x) =1-x2 , for which
g′g =0 → g(xy) =1
The solution in this case to the differential equation is
x1-y2 -y1-x2 =c
Direct integration of the differential equation gives
∫0x dt 1-t2 -∫0y dt 1-t2 =∫0c dt 1-t2 sin−1x -sin−1y =sin−1c
and taking a sine of both sides reproduces the solution. Replacing the variables in the solution with functions that invert the integrals
x=sinu y=sinv
the solution to the differential equation becomes
sinucosv -sinvcosu =c =sin(u-v)
so that the solution to the differential equation represents the addition formula for the sine function, albeit with one negative angle.
Next consider the historically interesting case f(x) =1-x4 that arose in the context of arc length on a lemniscate. The condition for an integrable solution is
g′g =−2xy 1+x2 y2 → g(xy) =11+x2 y2
so that the solution to the differential equation is
x1 -y4 -y1 -x4 1+x2 y2 =c
This is one way to express what is known as Euler’s algebraic addition theorem for elliptic integrals.
Recognizing that the integrals in this case are inverted by Jacobi elliptic functions with m=−1 ,
x=sn (u|−1) y=sn (v|−1)
this solution represents the addition formula for those functions:
snucnvdnv -snvcnudnu 1+sn2u sn2v =sn(u-v)
The final easily integrable case is f(x) =(1-x2) (1-mx2) for elliptic integrals of the first kind. The condition for integrability is
g′g =2mxy 1-mx2 y2 → g(xy) =11 -mx2 y2
x (1-y2) (1-my2) -y (1-x2) (1-mx2) 1-mx2 y2 =c
Since the integrals in this case are inverted by Jacobi elliptic functions of arbitrary parameter,
x=sn (u|m) y=sn (v|m)
this solution represents the general addition formula for Jacobi elliptic functions:
snucnvdnv -snvcnudnu 1-msn2u sn2v =sn(u-v)
This is by far a simpler and more direct derivation of the addition formula for Jacobi elliptic functions than the one given in Whittaker and Watson!
Having a general condition for testing the integrability of the differential equation, at least for a solution of the given form, it is straightforward to examine other rational expressions for possible integrability. Unfortunately there do not appear to be any other such simple expressions. In particular the rational expression defining elliptic integrals of the second kind is not integrable in this form.
Here is a nice historical overview by Jose Barrios for some context to this section.
Begin with the relationship between the Jacobi elliptic sine and an elliptic integral of the first kind in Legendre normal form:
x=sn (u|m) ↔ u=∫0x dx (1-x2) (1-mx2)
If the elliptic sine is given an additional multiplicative factor of the square root of the parameter,
msn (u|m) =mx ≡y
then the integral statement becomes
u=1m ∫0y dy (1- y2m) (1-y2)
Moving the initial factor over to the left-hand side leads to an inverse elliptic function with an altered argument and inverted parameter. One thus has the equivalence
msn (u|m) =sn(mu| 1m)
The relationships with the other basic elliptic functions are again
sn2u +cn2u =1 dn2u +msn2u =1
Squaring both sides of the equivalence, replacing the elliptic sine on the left-hand side with the elliptic cosine, rearranging and keeping track of the relevant parameter of the elliptic sine from the right-hand side, one can easily produce the equivalence
cn(u|m) =dn(mu| 1m)
Repeating the process but replacing the elliptic sine on the left-hand side with the delta amplitude leads to
dn(u|m) =cn(mu| 1m)
Taking inverses and ratios of these three equivalences allows one to deduce similar equivalences for the remaining Jacobi elliptic function combinations.
The Jacobi elliptic functions of a real variable have periods proportional to complete elliptic integrals of the first kind,
sn[t +4K(m), m] =sn(t,m) cn[t +4K(m), m] =cn(t,m) dn[t +2K(m), m] =dn(t,m)
where the elliptic parameter has been written explicitly for the elliptic functions. If one is trying to match an elliptic function to an unknown function with a given period different from these periods, then a frequency multiplying the first argument is generally necessary. This alters the resulting function in a nonlinear fashion, unlike the corresponding change to a circular function, even though the function retains its period in terms of elliptic integrals.
The alteration can be understood by comparing two elliptic functions for different frequencies and parameters:
sn[ω1t +4K(m1), m1] =sn[ω1(t +4K(m1) ω1 ),m1] sn[ω2t +4K(m2), m2] =sn[ω2(t +4K(m2) ω2 ),m2]
In order for these two functions to have the same period, the quantities added to the independent variable must be equal:
K(m1) ω1 =K(m2) ω2
Starting from one frequency and parameter and specifying a new frequency, the parameter that maintains the original fixed period is given by
K(m2) =ω2 ω1 K(m1) → m2=K −1[ ω2 ω1 K(m1) ]
While the Jacobi elliptic sine formally inverts an elliptic integral of the first kind, in practice the inversion must be done with numerical root finding for the simple reason that the elliptic function itself depends on the parameter to be determined.
The technique can be graphically illustrated with a Jacobi elliptic sine constrained to a period of 2π:
Alternately, starting from an elliptic parameter of zero with the frequency corresponding to the known fixed period, changes to the elliptic parameter can be accommodated by adjusting the frequency to
ω2 =K(m2) K(m1) ω1
which can again be graphically illustrated with a Jacobi elliptic sine constrained to a period of 2π:
Plotting the function sn[K(m) K(0) t,m] along with a sine function and allowing variation of the elliptic parameter, both positive and negative, nicely illustrates the analytic relationship between the two functions:
The behavior of this last graphic for negative values of the parameter indicates that there is an interesting way to generalize the circular function behavior
sin(t +π2) =cost
to Jacobi elliptic functions with fixed period. Consider the relationship
sn[K(n) K(0) (t+π2 ),n] =? cn[K(m) K(0) t,m]
Numerical rooting finding for some nontrivial argument, say t=π4 , indicates that one can indeed locate values for the elliptic parameters that make the two functions equivalent. This is demonstrated by the following interactive graphic:
The default red line is a Jacobi sine function with n=0 , i.e. a regular sine function. Checking the box locates the value of n, shown rounded to eight decimal places, that makes the two functions equivalent. Note that this value is negative relative to the other elliptic parameter.
Evaluating both sides of the relationship under consideration with a CAS, for example Mathematica, and equating their leading terms gives
K(m) =1-n K(n)
as the analytic relationship connecting the two Jacobi elliptic functions with fixed period. The right-hand side can be rewritten using an identity for negative parameter,
1-n K(n) =K(n n-1)
which explains why so many simple rational values turn up in the numerical evaluations of the interactive graphic.
To understand this quantity, begin with those of the elliptic integrals. For all of these integrals, the sine function only appears squared. As a result adding a real value of π to the argument of the integral of the first kind leads to an additional multiple of the corresponding complete integral,
F(φ +π|m) =∫0 φ+π dφ1 -msin2φ F(φ +π|m) =K(m) +∫π2 π dφ1 -msin2φ +∫π φ+π dφ1 -msin2φ F(φ +π|m) =2K(m) +F(φ|m)
where the variable of integration is replaced with π-φ in the second intermediate term and by φ-π in the third. Repeated application gives the general rule
F(φ +πp|m) =F(φ|m) +2pK(m)
for integral p. The rules for integrals of the second and third kind are mutatis mutandis identical:
E(φ +πp|m) =E(φ|m) +2pE(m)
Π(φ +πp|m) =Π(n, φ|m) +2pΠ (n|m)
These rules can be interpreted to hold over the entire complex plane for both the argument and the parameter.
The Jacobi amplitude function is defined as the inverse of the elliptic integral of the first kind:
u=∫0φ dφ 1-m sin2φ → φ=am (u,m)
Adding twice the complete integral to each side of this equation, reversing the calculation above, gives
u+2K(m) =∫0 φ+π dφ1 -msin2φ
so that for values of the elliptic parameter that keep the complete elliptic integral real, once can apply this repeatedly for the rule
am[u+2p K(m)|m] =am(u|m) +πp
While this looks as simple to apply as the rules for elliptic integrals, in practice there are some catches. The Jacobi elliptic functions have an second period in iK(1-m) . When evaluating the amplitude function as the inverse sine of a Jacobi elliptic sine, any real part of this second period will change the overall sign of the inverse sine, but does not alter the result otherwise. Additionally, any imaginary part of the elliptic parameter negates the entire rule, so that only the inverse sine is then necessary.
These last comments are partly explained by §3.1 of this online reference. They are stated here to document how the function is evaluated in Math. This is at least how the function appears to be evaluted in Mathematica.
Uploaded 2020.04.02 analyticphysics.com